//
//  LoginTextField.h
//  Futures
//
//  Created by Cheng on 2017/7/17.
//  Copyright © 2017年 Cheng. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol LoginTextFieldDelegate <NSObject>

- (void)textDidChange:(NSString *)text;

@end

IB_DESIGNABLE
@interface LoginTextField : UIView <UITextFieldDelegate>

@property (weak,nonatomic) id<LoginTextFieldDelegate> delegate;
@property (strong, nonatomic) IBOutlet UIView *content;
@property (weak, nonatomic) IBOutlet UILabel *title;
@property (weak, nonatomic) IBOutlet UITextField *textField;
- (void)setLoginTextFieldWithTitle:(NSString *)title placeholder:(NSString *)placeHolder;
@end
